cmake_minimum_required(VERSION 2.6)
project(Matrix)

#find_package(Boost COMPONENTS thread REQUIRED)
#include_directories(${Boost_INCLUDE_DIRS})
add_definitions(-D_WIN32_WINNT=0x0501)

if(MSVC)
  add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -D_CRT_NON_CONFORMING_SWPRINTFS -D_SCL_SECURE_NO_WARNINGS -DNOMINMAX)
endif(MSVC)

file(GLOB sources "*.cpp")
file(GLOB headers "*.h")
add_executable(matrix ${sources} ${headers})


source_group("Headers" FILES ${headers})

source_group("Sources" FILES ${sources})
